You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TMtxVec Class > TMtxVec Methods > ThresholdLT Method > TMtxVec.ThresholdLT Method ([In] double, [In] double)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TMtxVec.ThresholdLT Method ([In] double, [In] double)

Threshold less than operation.

Syntax
C#
Visual Basic
public TMtxVec ThresholdLT([In] double LTLevel, [In] double LTValue);

Perform operation on all calling object values. The LTValue parameter is a lower bound for threshold operation. All values less than LTLevel will be replaced with LTValue. For complex number comparation is applied with norm of complex value.

using Dew.Math; using Dew.Math.Units; namespace Dew.Examples() { void Example() { TVec a; MtxVec.CreateIt(out a); try { a.SetIt(false, new double[] {2, 0.1, 3, 4}); a.ThresholdLT(2.3,1.5); // a = [1.5,1.5,3,4] } finally { MtxVec.FreeIt(ref a); } } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!